package com.myHospital.biz;

import com.myHospital.entity.User;

import java.util.List;

public interface UserBiz {
    List<User> SearchUser(String name, String phone, String site, int startIndex, int pageSize);

    int register(User user);

    User getById(int id);
    User login(String name,String password);
}